// **********************************************************************
//
// Copyright (c) 2003-2008 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************

// Ice version 3.3.0

package CustomerRelationsManagement;

public interface _CRMDel extends Ice._ObjectDel
{
    customerPrx CreateCustomer(java.util.Map<String, String> __ctx)
        throws IceInternal.LocalExceptionWrapper;

    customerPrx LoadCustomerByName(String CustName, java.util.Map<String, String> __ctx)
        throws IceInternal.LocalExceptionWrapper,
               DBError,
               RecordNotFound;

    customerPrx LoadCustomerById(int CustId, java.util.Map<String, String> __ctx)
        throws IceInternal.LocalExceptionWrapper,
               DBError;

    orderPrx CreateOrder(java.util.Map<String, String> __ctx)
        throws IceInternal.LocalExceptionWrapper;

    orderPrx LoadOrderById(int OrderId, java.util.Map<String, String> __ctx)
        throws IceInternal.LocalExceptionWrapper,
               DBError,
               RecordNotFound;

    orderPrx[] LoadOrderByCustomer(int CustId, java.util.Map<String, String> __ctx)
        throws IceInternal.LocalExceptionWrapper,
               DBError;

    orderPrx[] LoadNewOrders(java.util.Map<String, String> __ctx)
        throws IceInternal.LocalExceptionWrapper,
               DBError,
               RecordNotFound;
}
